package com.test.crawler.utils;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

@Retention(java.lang.annotation.RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.TYPE})
public @interface ExtractBy {

  String value();

  Type type() default Type.Css;

  boolean multi() default false;

  boolean click() default false;

  String clickCss() default "";

  String attr() default "";
  String cssProperty() default "";


  enum Type {XPath, Regex, Css, JsonPath}


}
